package com.example.springboot.mapper;

import com.example.springboot.entity.CityEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Mapper
public interface CityEntityMapper {
    List<CityEntity> getAll();

    int del(Integer id);

    int update(@Param("cityEntity") CityEntity cityEntity);
}